package com.hsgene.order.constants;

import com.hsgene.common.util.exception.ErrorCode;

/**
 * @author wxf
 * @date 2018/11/8 16:59
 **/
public enum ReconciliationErrorCode implements ErrorCode {
    /**
     * 对账异常枚举
     */
    LIST_IS_ERROR(30051,"LIST_IS_ERROR","获取列表异常"),
    PARAMS_IS_NOT_NULL(30052,"PARAMS_IS_NOT_NULL","参数不能为空"),
    RECONCILIATION_IS_ERROR(30053,"RECONCILIATION_IS_ERROR","对账异常");

    private int code;
    private String message;
    private String description;

    ReconciliationErrorCode(int code, String message, String description) {
        this.code = code;
        this.message = message;
        this.description = description;
    }

    @Override
    public int getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    @Override
    public String getDescription() {
        return description;
    }
}
